package com.syh.jn.scm.dto.supplier.stock;

import lombok.Data;
import javax.validation.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 期初库存
 */
@Data
public class StockBeginGoodsSto implements Serializable {
  /**
   * 库存商品id
   */
  @NotNull(message = "库存商品id不能为空")
  private Long id;
  /**
   * 期初数量
   */
  @NotNull(message = "期初数量不能为空")
  private BigDecimal beginningCount;
  /**
   * 期初单价
   */
  @NotNull(message = "期初单价不能为空")
  private BigDecimal beginningAvgUnitPrice;
}
